.preview-file {
  width: 100vw !important;
  height: 100vh !important;
  max-width: unset !important;
  padding: 0 !important;
  position: absolute;
  inset: 0;
  .ant-modal-content {
    background: rgba(0, 0, 0, 0.75) !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: 0 !important;
    max-height: unset !important;
  }
  .ant-modal-close-x,
  .anticon-close {
    line-height: 7vh;
    font-size: 1.3vw;
    margin-right: 0.5vw;
    color: #fff !important;
  }
  .ant-modal-header {
    height: 7vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-bottom: none;
    margin: 0 !important;
  }
  .ant-modal-body {
    max-height: unset !important;
    height: 93vh !important;
    background-color: rgba(0, 0, 0, 0) !important;
    padding: 0;
    margin-right: 0 !important;
    padding-right: 0 !important;
  }
  .file-content {
    width: 100vw !important;
    height: 100vh !important;
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    .file-header {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 7vh;
      background-color: rgba(0, 0, 0, 0.3);
    }
    .file-content-show {
      position: absolute;
      top: 7vh;
      bottom: 16vh;
      left: 0;
      right: 0;
      z-index: 1;
      display: flex;
      align-items: center;
      .ant-tabs-nav {
        display: none;
      }
    }
    .file-content-list {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 16vh;
      width: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      .card-number {
        height: 4vh;
        line-height: 4vh;
        padding-left: 1vw;
        color: #999999;
      }
      .card-show {
        width: 100%;
        height: calc(~'100% - 4vh');
        padding: 0 3vw 1vw;
        overflow: hidden;
        white-space: nowrap;
        display: flex;
        .card-left,
        .card-right {
          width: 5vw;
          height: 100%;
          & > div {
            height: 100%;
            width: 100%;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            color: #fff;
            cursor: pointer;
            &:hover > * {
              transform: scale(1.4);
            }
          }
        }
        .card {
          display: inline-flex;
          width: 10vw;
          height: 100%;
          overflow: hidden;
          cursor: pointer;
          justify-content: center;
          align-items: center;
          vertical-align: top;
          text-align: center;
          height: 100%;
          position: relative;
          background-color: #15151b;
          &:hover,
          &:active,
          &.active {
            &::after {
              content: '';
              position: absolute;
              inset: 0;
              border: 0.3vw solid #21a3fb;
            }
          }
          & + .card {
            margin-left: 0.5vw;
          }
        }
        .card {
          img {
            height: auto;
            width: auto;
            margin: 0;
            max-width: 100%;
            max-height: 100%;
          }
        }
      }
    }
  }
  .file-icon-left {
    left: 13vw;
  }
  .file-icon-right {
    right: 13vw;
  }
}
